package com.jdd.modules.parkmonthly.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MonthlyCardDelayDto {


    /**套餐车场编号*/
    @ApiModelProperty(value = "套餐id")
    private String parkCode;


    @ApiModelProperty(value = "月卡ID")
    private String monthlyCardId;

    /**套餐id*/
    @ApiModelProperty(value = "套餐id")
    private String packageId;

    @ApiModelProperty(value = "过期延期方式(1、顺延 2、跳延)")
    private Integer overdueDelayWay;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效期结束时间")

    private Date beginTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效期结束时间")
    private Date endTime;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal monthlyMoney;

    @ApiModelProperty(value = "备注")
    private String remark;

    private String isUpload;

    private String messageId;
}
